<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<head>
<title>Admin Dashbord</title>
<div th:remove="all">
	<title>XXX-管理平台</title>
	<meta charset="utf-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
	<!-- Tell the browser to be responsive to screen width -->
	<meta
		content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
		name="viewport" />
	<!-- Bootstrap 3.3.6 -->
	<link rel="stylesheet" href="../bootstrap/css/bootstrap.min.css" />
	<!-- Font Awesome -->
	<link rel="stylesheet" href="../dist/third/font-awesome.min.css" />
	<!-- Ionicons -->
	<link rel="stylesheet" href="../dist/third/ionicons.min.css" />

	<!-- Theme style -->
	<link rel="stylesheet" href="../dist/css/AdminLTE.min.css" />
	<!-- AdminLTE Skins. Choose a skin from the css/skins
             folder instead of downloading all of them to reduce the load. -->
	<link rel="stylesheet" href="../dist/css/skins/_all-skins.min.css" />

	<!-- iCheck -->
	<link rel="stylesheet" href="../plugins/iCheck/square/blue.css" />

	<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
	<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
	<!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
        <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
        <![endif]-->
</div>
<div th:replace="head"></div>
</head>

<body class="hold-transition skin-blue sidebar-mini ">
	<div class="wrapper">

		<header class="main-header" th:remove="all">

			<!-- Logo -->
			<a href="@{/}" class="logo"> <span class="logo-mini"><b>管理平台</b></span>
				<!-- logo for regular state and mobile devices --> <span
				class="logo-lg"><b>管理平台</b></span>
			</a>

			<!-- Header Navbar: style can be found in header.less -->
			<nav class="navbar navbar-static-top">
				<!-- Sidebar toggle button-->
				<a href="#" class="sidebar-toggle" data-toggle="offcanvas"
					role="button"> <span class="sr-only">Toggle navigation</span>
				</a>
				<!-- Navbar Right Menu -->
				<div class="navbar-custom-menu">
					<ul class="nav navbar-nav">

						<!-- User Account: style can be found in dropdown.less -->
						<li class="dropdown user user-menu"><a href="@{/profile}"
							class="dropdown-toggle" data-toggle="dropdown"> <span
								class="hidden-xs" th:text="${user.username}">root</span>
						</a></li>

					</ul>
				</div>

			</nav>
		</header>
		<!-- Left side column. contains the logo and sidebar -->
		<aside class="main-sidebar" th:remove="all">
			<!-- sidebar: style can be found in sidebar.less -->
			<section class="sidebar">

				<!-- sidebar menu: : style can be found in sidebar.less -->
				<ul class="sidebar-menu">

					<!--Multilevel-->
					<li class="treeview" th:each="nav:${navs}">
						<a href="#" th:href="@{${nav.url}"> 
							<span th:text="${nav.label}">label</span>
								<span class="pull-right-container">
								 <i class="fa fa-angle-left pull-right"></i>
							</span>
						</a>
						<ul class="treeview-menu" th:each="second:${nav.children}">
							<li>
								<a href="#" th:href="@{${second.url}">
									<i class="fa fa-circle-o" style=""> </i> 
									<span th:text="${second.label}">label</span>
								</a>
							</li>
						</ul>
					</li>

				</ul>
			</section>
			<!-- /.sidebar -->
		</aside>

		<div th:replace="header"></div>
		<div th:replace="sidebar"></div>

		<!-- Content Wrapper. Contains page content -->
		<div class="content-wrapper">


			<!-- Main content -->
			<section class="content">
				<!-- Info boxes -->
				<div class="row">
					<div class="col-md-3 col-sm-6 col-xs-12">
						<div class="info-box">
							<span class="info-box-icon bg-aqua"><i
								class="ion ion-ios-gear-outline"></i></span>

							<div class="info-box-content">
								<span class="info-box-text">CPU Traffic</span> <span
									class="info-box-number">90<small>%</small></span>
							</div>
							<!-- /.info-box-content -->
						</div>
						<!-- /.info-box -->
					</div>
					<!-- /.col -->
					<div class="col-md-3 col-sm-6 col-xs-12">
						<div class="info-box">
							<span class="info-box-icon bg-red"><i
								class="fa fa-google-plus"></i></span>

							<div class="info-box-content">
								<span class="info-box-text">Likes</span> <span
									class="info-box-number">41,410</span>
							</div>
							<!-- /.info-box-content -->
						</div>
						<!-- /.info-box -->
					</div>
					<!-- /.col -->

					<!-- fix for small devices only -->
					<div class="clearfix visible-sm-block"></div>

					<div class="col-md-3 col-sm-6 col-xs-12">
						<div class="info-box">
							<span class="info-box-icon bg-green"><i
								class="ion ion-ios-cart-outline"></i></span>

							<div class="info-box-content">
								<span class="info-box-text">Sales</span> <span
									class="info-box-number">760</span>
							</div>
							<!-- /.info-box-content -->
						</div>
						<!-- /.info-box -->
					</div>
					<!-- /.col -->
					<div class="col-md-3 col-sm-6 col-xs-12">
						<div class="info-box">
							<span class="info-box-icon bg-yellow"><i
								class="ion ion-ios-people-outline"></i></span>

							<div class="info-box-content">
								<span class="info-box-text">New Members</span> <span
									class="info-box-number">2,000</span>
							</div>
							<!-- /.info-box-content -->
						</div>
						<!-- /.info-box -->
					</div>
					<!-- /.col -->
				</div>
				<!-- /.row -->

				<div class="row">
					<div class="col-md-12">
						<div class="box">
							<div class="box-header with-border">
								<h3 class="box-title">Monthly Recap Report</h3>

								<div class="box-tools pull-right">
									<button type="button" class="btn btn-box-tool"
										data-widget="collapse">
										<i class="fa fa-minus"></i>
									</button>
									<div class="btn-group">
										<button type="button" class="btn btn-box-tool dropdown-toggle"
											data-toggle="dropdown">
											<i class="fa fa-wrench"></i>
										</button>
										<ul class="dropdown-menu" role="menu">
											<li><a href="#">Action</a></li>
											<li><a href="#">Another action</a></li>
											<li><a href="#">Something else here</a></li>
											<li class="divider"></li>
											<li><a href="#">Separated link</a></li>
										</ul>
									</div>
									<button type="button" class="btn btn-box-tool"
										data-widget="remove">
										<i class="fa fa-times"></i>
									</button>
								</div>
							</div>
							<!-- /.box-header -->
							<div class="box-body">
								<div class="row">
									<div class="col-md-8">
										<p class="text-center">
											<strong>Sales: 1 Jan, 2014 - 30 Jul, 2014</strong>
										</p>

										<div class="chart">
											<!-- Sales Chart Canvas -->
											<canvas id="salesChart" style="height: 180px;"></canvas>
										</div>
										<!-- /.chart-responsive -->
									</div>
									<!-- /.col -->
									<div class="col-md-4">
										<p class="text-center">
											<strong>Goal Completion</strong>
										</p>

										<div class="progress-group">
											<span class="progress-text">Add Products to Cart</span> <span
												class="progress-number"><b>160</b>/200</span>

											<div class="progress sm">
												<div class="progress-bar progress-bar-aqua"
													style="width: 80%"></div>
											</div>
										</div>
										<!-- /.progress-group -->
										<div class="progress-group">
											<span class="progress-text">Complete Purchase</span> <span
												class="progress-number"><b>310</b>/400</span>

											<div class="progress sm">
												<div class="progress-bar progress-bar-red"
													style="width: 80%"></div>
											</div>
										</div>
										<!-- /.progress-group -->
										<div class="progress-group">
											<span class="progress-text">Visit Premium Page</span> <span
												class="progress-number"><b>480</b>/800</span>

											<div class="progress sm">
												<div class="progress-bar progress-bar-green"
													style="width: 80%"></div>
											</div>
										</div>
										<!-- /.progress-group -->
										<div class="progress-group">
											<span class="progress-text">Send Inquiries</span> <span
												class="progress-number"><b>250</b>/500</span>

											<div class="progress sm">
												<div class="progress-bar progress-bar-yellow"
													style="width: 80%"></div>
											</div>
										</div>
										<!-- /.progress-group -->
									</div>
									<!-- /.col -->
								</div>
								<!-- /.row -->
							</div>
							<!-- ./box-body -->
							<div class="box-footer">
								<div class="row">
									<div class="col-sm-3 col-xs-6">
										<div class="description-block border-right">
											<span class="description-percentage text-green"><i
												class="fa fa-caret-up"></i> 17%</span>
											<h5 class="description-header">$35,210.43</h5>
											<span class="description-text">TOTAL REVENUE</span>
										</div>
										<!-- /.description-block -->
									</div>
									<!-- /.col -->
									<div class="col-sm-3 col-xs-6">
										<div class="description-block border-right">
											<span class="description-percentage text-yellow"><i
												class="fa fa-caret-left"></i> 0%</span>
											<h5 class="description-header">$10,390.90</h5>
											<span class="description-text">TOTAL COST</span>
										</div>
										<!-- /.description-block -->
									</div>
									<!-- /.col -->
									<div class="col-sm-3 col-xs-6">
										<div class="description-block border-right">
											<span class="description-percentage text-green"><i
												class="fa fa-caret-up"></i> 20%</span>
											<h5 class="description-header">$24,813.53</h5>
											<span class="description-text">TOTAL PROFIT</span>
										</div>
										<!-- /.description-block -->
									</div>
									<!-- /.col -->
									<div class="col-sm-3 col-xs-6">
										<div class="description-block">
											<span class="description-percentage text-red"><i
												class="fa fa-caret-down"></i> 18%</span>
											<h5 class="description-header">1200</h5>
											<span class="description-text">GOAL COMPLETIONS</span>
										</div>
										<!-- /.description-block -->
									</div>
								</div>
								<!-- /.row -->
							</div>
							<!-- /.box-footer -->
						</div>
						<!-- /.box -->
					</div>
					<!-- /.col -->
				</div>
				<!-- /.row -->

			</section>
			<!-- /.content -->
		</div>
		<!-- /.content-wrapper -->

	</div>

	<div th:replace="script"></div>
	<div th:remove="all">
		<!-- jQuery 2.2.3 -->
		<script src="../plugins/jQuery/jquery-2.2.3.min.js"></script>
		<!-- Bootstrap 3.3.6 -->
		<script src="../bootstrap/js/bootstrap.min.js"></script>
		<!-- FastClick -->
		<script src="../plugins/fastclick/fastclick.js"></script>
		<!-- AdminLTE App -->
		<script src="../dist/js/app.min.js"></script>
		<!-- Sparkline -->
		<script src="../plugins/sparkline/jquery.sparkline.min.js"></script>

		<!-- SlimScroll 1.3.0 -->
		<script src="../plugins/slimScroll/jquery.slimscroll.min.js"></script>

		<!-- DataTables -->
		<script src="../plugins/datatables/jquery.dataTables.min.js"></script>
		<script src="../plugins/datatables/dataTables.bootstrap.min.js"></script>
	</div>
</body>
</html>